import type {
  GreasyForkElements,
} from '../../../../../../../../../types/constants/personalization/greasy_fork'
import {
  PAGE_ELEMENTS,
  SUPPORTED_PLATFORMS,
} from '../../../../../../../../../types/constants'

// 测试链接：https://greasyfork.org/auth/github/callback
export class CallbackPage {
  elements: GreasyForkElements = PAGE_ELEMENTS[SUPPORTED_PLATFORMS.GREASY_FORK]
  private static instance: CallbackPage

  /**
   * 获取单例实例
   */
  public static getInstance(): CallbackPage {
    if (!CallbackPage.instance) {
      CallbackPage.instance = new CallbackPage()
    }
    return CallbackPage.instance
  }

  init(): void {
  }

  getMainStyles(): string {
    return `
`
  }
}
